package com.ny.shurushuchu;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

public class Shuru {
    public static void main(String[] args) {
        // 要读取的文件路径
        String filePath = "员工.txt";

        try (BufferedReader reader = new BufferedReader(new FileReader(filePath))) {
            String line;
            System.out.println("迪迦被小怪兽摁着头爆锤");

            while ((line = reader.readLine()) != null) {
                System.out.println(line);
            }
        } catch (IOException e) {
            System.err.println("读取文件时出错: " + e.getMessage());
        }
    }
}
